<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

	<head>
	 	<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>招商财富产品线列表</title>
		<script type="text/javascript">
			var prdPath = '<%=context%>' +'business/product/';
			var navPath = '<%=context%>' +'business/nav/';
			var feePath = '<%=context%>' +'business/treFeeDetail/';
			var feeTypePath = '<%=context%>' +'business/treFeeType/';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix(prdPath);
				setNavPathPrefix(navPath);
				setFeePathPrefix(feePath);
				setFeeTypePathPrefix(feeTypePath);
			});
		</script>
		 
	</head>
	
	<body class="fixed-nav">
		<input id="prdFlag" type="hidden" value="${prdFlag }">
		<!-- 按钮 -->
		<div style="display: none;" id="templateUpdateTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='updatePrdLine' param=''></wasp:opera></div>
		<div style="display: none;" id="templateDeleteTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='delPrdLine' param=''></wasp:opera></div>
		<div style="display: none;" id="templateDownloadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='downloadPrdLine' param=''></wasp:opera></div>
		<!-- 详情（市场观点） -->
		<div style="display: none;" id="prdInfoDetailTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='prdInfoDetail' param=''></wasp:opera></div>

		<div class="result-box">
		
			<div class="form-multi-col-panel clear ">
				
				
				
				<!-- <div class="hr-line-dotted" id="hr-line-dotted"></div> -->
				
				<div class="form-item-group form-horizontal">
				
					<div class="form-item mo-search aca-search sda-search">
						<span class="form-field">产品名称</span>
						<span class="form-input">
							<input type="text" class="form-control" id="q-name"/>
						</span>
			        </div>
			    
					<div class="form-item mo-search aca-search sda-search">
						<span class="form-field">募集时间</span>
						<span class="form-input">
							<input type="text" class="form-control" id="q-time"/>
						</span>
						<!-- <span class="form-input">
							<input autocomplete="off" type="text" placeholder="募集时间" class="form-control" name="q-time" id="q-time" value="">
						</span> -->
			        </div>
			        
			        <div class="form-item"></div>
			        <div class="form-item"></div>
			        <div class="form-item"></div>
			        
			        <div class="form-item max">
			          <span class="form-field">风险级别</span>
			          <span class="form-input" style="width:55%">
			          	<i id="unlimited" class="iradio_square-green checked" onclick="chooseUnlimited();"></i>
			          	<label>不限</label>
			            <c:forEach var="dictDto" items="${riskLevelList}">
			            	<i class="far fa-square riskLevel" value="${dictDto.dctValue }" onclick="chooseOthers();"></i>
			            	<label>${dictDto.dctName }</label>
			            </c:forEach>
			          </span>
			        </div>
			        
			        <div class="form-item max">
			          <span class="form-field">产品类型</span>
			          <span class="form-input" style="width:55%">
			          	<i id="unlimitedType" class="iradio_square-green checked" onclick="chooseUnlimitedType();"></i>
			          	<label>不限</label>
			            <c:forEach var="dictDto" items="${prdTypeList}">
			            	<i class="far fa-square prdType" value="${dictDto.dctValue }" onclick="chooseOthersType();"></i>
			            	<label>${dictDto.dctName }</label>
			            </c:forEach>
			          </span>
			        </div>
			        
			        <div class="form-item max" id="t-prdTerm">
			          <span class="form-field">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;期限</span>
			          <span class="form-input" style="width:55%">
			            <c:forEach var="dictDto" items="${prdTermList}">
			            	<i class="far fa-square prdTerm" value="${dictDto.dctValue }"></i>
			            	<label>${dictDto.dctName }</label>
			            </c:forEach>
			          </span>
			        </div>
			        
			    </div>
			    
			    
			    
				<div class="form-action">
					<button class="btn btn-primary" type="submit" id="market_opinion-search" onclick="queryByCondtion(true, 'market_opinion')"><i class="fa fa-search"></i>&nbsp;查询</button>
					<button class="btn btn-outline btn-default" id="resetBtn" name="resetBtn" onclick="clearCondtion();" type="reset">清空</button>
				
				<!-- <div class="form-search-group" id="market_opinion-bigbtn"> -->
					
				<!-- </div> -->
				</div>
			</div>
			
			<div class="form-search-group">
				<wasp:opera fun="PRD_INFO.feeTypeManagement();" id="feeTypeManagement"></wasp:opera> <!-- 新增 -->
				<wasp:opera fun="PRD_INFO.feeManagementAdd();" id="feeManagementAdd"></wasp:opera> <!-- 新增 -->
				<wasp:opera fun="PRD_INFO.feeManagementDelete();" id="feeManagementDelete"></wasp:opera> <!-- 删除 -->
				<wasp:opera fun="PRD_INFO.treNav();" id="treNav"></wasp:opera> <!-- 新增 -->
				<wasp:opera fun="PRD_INFO.addPrdLine();" id="addPrdLine"></wasp:opera> <!-- 新增 -->
				<wasp:opera fun="PRD_INFO.exportPrdInfo();" id="prdLineExport"></wasp:opera><!-- 导出 -->

			</div>
			
			<div id="myTabContent" class="tab-content">
				<div class="jqGrid_wrapper fullscreen-wrapper" id="prdInfoGrid">
					<table id="prdInfoList"></table>
					<div id="prdInfoListPage"></div>
				</div>
			</div>
		
		</div>

		<script type="text/javascript" src="<%=context%>resources/modules/business/product/prdInfoList.js?r=<%=Math.random()%>"></script>
	
	</body>

</html>



